<!DOCTYPE html>
<html>
<head>
	<title></title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/layui/css/layui.css" media="all">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/table.css" media="all">
</head>
<body>
<include file="Baksql/nav" />
<span class="tabscount"><span class="padding"><a href="javascript:;" id="backup_all" title="一键还原全部备份">一键还原</a></span><a href="javascript:;" id="del_backup_all" title="一键删除全部备份">一键删除</a>&nbsp;&nbsp;总共<span class="counts">{$tables}</span>份备份,共{$total}</span>
<div class="layui-form">
  <table class="layui-table" >
    <colgroup>
      <col width="50">
      <col width="150">
      <col width="150">
      <col width="200">
      <col>
    </colgroup>
    <thead>
      <tr>
        <th class="minwidth50">序号</th>
        <th class=" minwidth200">备份名称</th>
        <th class="">卷数</th>
        <th class="">压缩</th>
        <th class="">数据大小</th>
        <th class="">备份时间</th>
        <th class="">备份表</th>
        <th class="">状态</th>
        <th class="minwidth50">操作</th>
      </tr> 
    </thead>
    <tbody>
  <volist name="list" id="table">
      <tr >
          <td >{$i}</td>
          <td>{$table.time|date='YmdHis',###}</td>
          <td>{$table.part}</td>
          <td>{$table.compress}</td>
          <td>{$table.size|format_bytes}</td>
          <td>{$table.time|date='Y-m-d H:i:s',###}</td>
          <td>{$table.fname}</td>
          <td>-</td>
          <td class="action minwidth50">
          <a class="db-import dorestore" href="javascript:;" title="还原当前备份" data-name="{$table.filename}" data-row="{$i}">还原</a>
          &nbsp;
          <a class="ajax-get confirm" href="{:U('delfile', array('time' => $table['filename']))}" title="删除当前备份" data-name="{$table.filename}" data-row="{$i}" onclick="return confirm('确定删除该条记录?')">删除</a>
          </td>
      </tr>
  </volist>
    </tbody>
  </table>
<script src="__PUBLIC__/js/jquery-1.8.3.min.js" ></script>
<script src="__PUBLIC__/layui/layui.js" ></script>
<script src="__PUBLIC__/admin/js/table.js" ></script>
</body>
</html>